Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 5 - Menu Manager Reference / Menu Manager Types and Constants


Menu Icon Handle Constants

NEW WITH THE APPEARANCE MANAGER

These constants specify the handle of the icon attached to the menu item. They are passed in SetMenuItemIconHandle and obtained by GetMenuItemIconHandle, respectively.

enum {
   kMenuNoIcon         = 0,            
   kMenuIconType       = 1,         
   kMenuShrinkIconType = 2,        
   kMenuSmallIconType  = 3,            
   kMenuColorIconType  = 4,         
   kMenuIconSuiteType  = 5             
};

Constant descriptions

kMenuNoIcon
No icon.
kMenuIconType
An 'ICON' handle.
kMenuShrinkIconType
A 32-by-32 'ICON' handle shrunk (at display time) to 16-by-16.
kMenuSmallIconType
A 'SICN' handle.
kMenuColorIconType
A 'cicn' handle.
kMenuIconSuiteType
An icon suite handle.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998